package org.sosim.modelo.programa;

import java.util.Collections;
import java.util.List;

import org.sosim.modelo.instrucao.Instrucao;

public class Programa {
	
	private final int idPrograma;
	private final List<Instrucao> instrucoes;
	
	public Programa(int id, List<Instrucao> instrucoes){
		this.instrucoes = instrucoes;
		this.idPrograma = id;
	}

	public int getIdPrograma() {
		return idPrograma;
	}

	public List<Instrucao> getInstrucoes() {
		return Collections.unmodifiableList(instrucoes);
	}
}
